<?php $this->load->module('index/index/login_register_header');?>
    <style>
        span.errormsg{display:inline-block;color:#b3b3b3;font-size:14px;text-indent: 20px !important;background: url('<?php echo URLPRE;?>static/template/<?php echo TEMPLATE_NAME?>/images/icons/icon_error.png') no-repeat left;margin: 5px 0 0 -2px;background-repeat: no-repeat;}
        span[for="Form[account]"]:empty{display:none !important;}
        span[for="Form[password]"]:empty{display:none !important;}
    </style>

    <div class="login-header">
        <div class="login-header-logo">
            <a href="<?php echo site_url('citysite/index');?>"><h1><img src="<?php echo $sitelogo ;?>" onerror="this.error=null;this.src='<?php echo URLPRE;?>static/public/images/nologo.jpg'" height="57" width="173" /></a>
        </div>
        <div class="login-header-logo1">登录中心</div>
    </div>

    <div class="login-main">
        <div class="login-main-img-box">
            <?php
            $TEMPLATE_PIC = <<<TEMPLATE
                    {listinfo}
                    <img src="{pic}" alt="{title}">
                   {/listinfo}
TEMPLATE;
            ?>
            <?php diy('bai_login_01', 'imagelist', $TEMPLATE_PIC);?>
        </div>
        <div class="login-register">
                <form method="post" class="form-horizontal formvalidate" action="<?php echo $form_url;?>">
                <input type="hidden" name="referer" value="<?php echo isset($_GET['referer']) ? $_GET['referer'] : '';?>" />
                <div class="form-group">
                    <div class="col-md-10 col-md-offset-1">
                        <input type="text" class="form-control login-main-account-number" name="Form[account]" placeholder="账号/手机号码：" validate="{required:true,rangelength:[4,40]}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-10 col-md-offset-1">
                        <input type="password" class="form-control login-main-password"  name="Form[password]" placeholder="密码："  validate="{required:true,rangelength:[6,20]}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-6 col-md-offset-1">
                        <div class="checkbox login-main-checkbox">
                            <label>
                                <input type="checkbox" name="Form[auto]" class="login-main-checkbox-size">记住我
                            </label>
                        </div>
                    </div>
                    <div class="col-md-3 col-md-offset-1 login-main-forget"><a href="<?php echo site_url('/member/index/password'); ?>">忘记密码？</a> </div>
                </div>
                <div class="form-group">
                    <div class="col-md-10 col-md-offset-1 login-main-botton">
                        <button type="submit" class="btn btn-warning login-main-botton-bg">登录</button>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-10 col-md-offset-1 login-main-register">还不是会员？<a href="<?php echo site_url('/zhuce/');?>">立刻注册</a> </div>
                </div>

            </form>
        </div>
    </div>
<?php $this->load->module('index/index/login_register_footer');?>